package thread.pool.core.annotation;

import org.springframework.context.annotation.Import;
import thread.pool.core.registry.ImportServerRegistry;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注入threadPool启动类
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(ImportServerRegistry.class)
public @interface EnableDynamicThreadPoolServer {
}
